<<<<<<< HEAD
import request from "@/api/index.js";
// 查询地址列表
export const addressInfoListAPI = (userId) => {
  return request({
    url: `/applet/reception/addressInfo/list/${userId}`,
  });
};

// 新增地址
export const addAddressAPI = (data) => {
  return request({
    url: `/applet/reception/addressInfo/add`,
    method: "post",
    data,
  });
};

// 编辑地址
export const editAddressAPI = (data) => {
  return request({
    url: `/applet/reception/addressInfo/update`,
    method: "put",
    data,
  });
};

// 删除地址
export const delAddressAPI = (addressId) => {
  return request({
    url: `/applet/reception/addressInfo/delete/${addressId}`,
	method:'delete'
  });
};

// 查询国家列表
export const countryListAPI = () => {
  return request({
    url: "/base/manageDestinationMaintenance/queryList",
  });
};
// 查询省份列表
export const provinceListAPI = (countryId) => {
  return request({
    url: `/applet/reception/area/selectProvinceList/${countryId}`,
  });
};
// 查询城市列表
export const cityListAPI = (areaLinkId) => {
  return request({
    url: `/applet/reception/area/selectCityList/${areaLinkId}`,
  });
};
// 查询县/地区列表
export const regionListAPI = (areaLinkId) => {
  return request({
    url: `/applet​/reception​/area​/selectRegionList​/${areaLinkId}`,
  });
};
=======
import request from '@/api/index.js'

// 我的页面用户信息
export const getAddress = (userId) => {
	return request({
		url: `/applet/reception/addressInfo/list/${userId}`
	})
} 
>>>>>>> yy
